//
//  JHPropressView.h
//  SHIJIE
//
//  Created by Gufs on 17/5/19.
//  Copyright © 2017年 yjh. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol JHPropressViewDelegate <NSObject>

@optional

- (void)returnPress:(float)sliderValue andIscache:(BOOL)isCache;

- (void)returnBegan:(BOOL)isMove andIscache:(BOOL)isCache;

- (void)returnMove:(float)sliderValue;

@end

@interface JHPropressView : UIView

@property (nonatomic ,weak) id <JHPropressViewDelegate> delegate;

@property(nonatomic,assign)float press;

@property(nonatomic,strong)UIView *pressView;
@property(nonatomic,strong)UIView *cachePressView;
@property(nonatomic,assign)float cachepress;

@property(nonatomic,assign)BOOL isCache;

-(void)refreshProress:(float)press;

@property(nonatomic,strong)UIImage *jhImage;

@property(nonatomic,assign)float lineWith;

@end
